package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.HotelClientMessage;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface HotelClientMessageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HotelClientMessage entity);

    HotelClientMessage selectByPrimaryKey(Long id);

    List<HotelClientMessage> selectAll();

    int updateByPrimaryKey(HotelClientMessage entity);

    List<HotelClientMessage> selectUserRecordByUserId(@Param("userId") Long userId, @Param("o") Object o);

    void deleteHotelByIsNull(Object o);

}